<?php
/**
 * Created by PhpStorm.
 * User: qishengqiang
 * Date: 2021-09-07
 * Time: 12:34
 */

namespace app\models;


class Broadcasts extends ModelBase
{
    protected $pk = 'broadcastId';

    public function getStatusText()
    {
        return $this->status == 0?'停用':'启用';
    }
}